package com.yhao.simpledemo.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author yhao
 * @since 2023-11-20 11:26:07
 */
@Data
@NoArgsConstructor
public class LoginInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String userName;

    private String password;

    private String smsCode;

    private String loginCode;

    private String clientType;

    private String phone;

    private String pushId;

    private String wechatId;

    private Long appleId;

    private String email;

    private String verificationCode;

    private Integer channel;

    private Integer platform;

    private String plateVersion;

    private String platApp;

    private Date logDate;

    private Timestamp reqTime;

    public LoginInfo(Long id, String userName, String password, String smsCode, String loginCode, String clientType, String phone, String pushId, String wechatId, Long appleId, String email, String verificationCode, Integer channel, Integer platform, String plateVersion, String platApp, Date logDate, Timestamp reqTime) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.smsCode = smsCode;
        this.loginCode = loginCode;
        this.clientType = clientType;
        this.phone = phone;
        this.pushId = pushId;
        this.wechatId = wechatId;
        this.appleId = appleId;
        this.email = email;
        this.verificationCode = verificationCode;
        this.channel = channel;
        this.platform = platform;
        this.plateVersion = plateVersion;
        this.platApp = platApp;
        this.logDate = logDate;
        this.reqTime = reqTime;
    }
}

